examineeApp.factory('examService', ['$http', '$q', '$rootScope', function ($http, $q, $rootScope) {
    var examService = {};
    var apiUrl = $rootScope.url + '/api/web/exam';
    var that = this; //
    var defered = $q.defer();
    var url = $rootScope.urlZ;
    var postCfg = {
        headers: {'Content-Type': 'application/x-www-form-urlencoded'},
        transformRequest: function (data) {
            return $.param(data);
        }
    };
    /*
     *获取我的考试列表
     * */
    // myExamService.getMyExamList = function () {
    //     return $http.get(apiUrl + '/list');
    // };

    return examService;
}]);
